Cypress Semiconductor /psoc63 /SMARTIO /PRT[6] /CTL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CTL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0BYPASS0CLOCK_SRC0 (HLD_OVR)HLD_OVR 0 (PIPELINE_EN)PIPELINE_EN 0 (ENABLED)ENABLED

Description

Control register

Fields

BYPASS

Bypass of the programmable IO, one bit for each IO pin: BYPASS[i] is for IO pin i. When ENABLED is ‘1’, this field is used. When ENABLED is ‘0’, this field is NOT used and SMARTIO fabric is always bypassed. ‘0’: No bypass (programmable SMARTIO fabric is exposed). ‘1’: Bypass (programmable SMARTIOIO fabric is hidden).

CLOCK_SRC

Clock (‘clk_fabric’) and reset (‘rst_fabric_n’) source selection: ‘0’: io_data_in[0]/‘1’. … ‘7’: io_data_in[7]/‘1’. ‘8’: chip_data[0]/‘1’. … ‘15’: chip_data[7]/‘1’. ‘16’: clk_smartio/rst_sys_act_n. Used for both Active functionality synchronous logic on ‘clk_smartio’. This selection is intended for synchronous operation on a PCLK specified clock frequency (‘clock_smartio_pos_en’). Note that the fabric’s clocked elements are frequency aligned, but NOT phase aligned to ‘clk_sys’. ‘17’: clk_smartio/rst_sys_dpslp_n. Used for both DeepSleep functionality synchronous logic on ‘clk_smartio’ (note that ‘clk_smartio’ is NOT available in DeepSleep and Hibernate power modes). This selection is intended for synchronous operation on a PCLK specified clock frequency (‘clock_smartio_pos_en’). Note that the fabric’s clocked elements are frequency aligned, but NOT phase aligned to ‘clk_sys’. ‘18’: Same as ‘17’. Note that the M0S8 SMARTIO version used the Hibernate reset for this value, but the MXS40 SMARTIO version does not support Hibernate functionality. ‘19’: clk_lf/rst_lf_dpslp_n (note that ‘clk_lf’ is available in DeepSleep power mode). This selection is intended for synchronous operation on’clk_lf’. Note that the fabric’s clocked elements are frequency aligned, but NOT phase aligned to other ‘clk_lf’ clocked elements. ‘20’-‘30’: Clock source is constant ‘0’. Any of these clock sources should be selected when the IP is disabled to ensure low power consumption. ‘31’: asynchronous mode/‘1’. Select this when clockless operation is configured.

NOTE: Two positive edges of the selected clock are required for the block to be enabled (to deactivate reset). In asynchronous (clockless) mode clk_sys is used to enable the block, but is not available for clocking.

HLD_OVR

IO cell hold override functionality. In DeepSleep power mode, the HSIOM holds the IO cell output and output enable signals if Active functionality is connected to the IO pads. This is undesirable if the SMARTIO is supposed to deliver DeepSleep output functionality on these IO pads. This field is used to control the hold override functionality from the SMARTIO: ‘0’: The HSIOM controls the IO cell hold override functionality (‘hsiom_hld_ovr’). ‘1’: The SMARTIO controls the IO cel hold override functionality:

  • In bypass mode (ENABLED is ‘0’ or BYPASS[i] is ‘1’), the HSIOM control is used.
  • In NON bypass mode (ENABLED is ‘1’ and BYPASS[i] is ‘0’), the SMARTIO sets hold override to ‘pwr_hld_ovr_hib’ to enable SMARTIO functionality in DeepSleep power mode (but disables it in Hibernate or Stop power mode).
PIPELINE_EN

Enable for pipeline register: ‘0’: Disabled (register is bypassed). ‘1’: Enabled.

ENABLED

Enable for programmable IO. Should only be set to ‘1’ when the programmable IO is completely configured: ‘0’: Disabled (signals are bypassed; behavior as if BYPASS is 0xFF). When disabled, the fabric (data unit and LUTs) reset is activated.

If the IP is disabled:

  • The PIPELINE_EN register field should be set to ‘1’, to ensure low power consumption by preventing combinatorial loops.
  • The CLOCK_SRC register field should be set to ‘20’-‘30’ (clock is constant ‘0’), to ensure low power consumption.

‘1’: Enabled. Once enabled, it takes 3 ‘clk_fabric’ clock cycles till the fabric reset is de-activated and the fabric becomes fully functional. This ensures that the IO pins’ input synchronizer states are flushed when the fabric is fully functional.

Links

() ()